﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DataFrameworkAccess;

namespace Xinkui.Spider.DataAccess
{
    public class DBHelper
    {
        internal static CompanyEntity GetCompanyByLink(string link)
        {
            DataCommand cmd = DataCommandManager.GetDataCommand("Company.Query.GetCompanyByLink");
            cmd.SetParameterValue("@link", link);
            return cmd.ExecuteEntity<CompanyEntity>();
        }

    }
}
